import Vue from 'vue'
import App from './App.vue'
import axios from "axios"
import router from './router/index'
import request from './utils/request'
import Vuex from 'vuex';
import '@/styles/common.less'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Vant from 'vant';
import 'vant/lib/index.css';
import { Toast } from 'vant';

Vue.use(Toast);

Vue.use(Vant);
Vue.use(ElementUI);
Vue.use(Vuex);
Vue.config.productionTip = false
Vue.prototype.axios=request

axios.defaults.baseURL = 'http://localhost:8081';

Vue.prototype.$axios = axios;



new Vue({
  router,
  render: h => h(App),
}).$mount('#app')


